<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>许愿墙</title>
<link href="skin/default/theme-default-wish.css" rel="stylesheet" type="text/css" />
<link href="skin/love/theme-love.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="../js/lib/jquery-1.4.1.js"></script>
<script language="javascript" src="../js/plugin/ui.mouse.js"></script>
<script language="javascript" src="../js/plugin/ui.draggable.js"></script>
<script language="javascript" src="../js/plugin/ui.draggable.ext.js"></script>
<script language="javascript" src="../js/plugin/jquery.jplayer.js"></script>
<script language="javascript" src="jquery.wish.js"></script>
<script language="javascript" src="skin.js"></script>
</head>

<body>
<div id="top">
  <div id="logo"></div>
  <div id="subject" class="txt_subject">愿有情人终成眷属</div>
  
  <div id="music"></div>
</div>
<div id="nav"></div>
<div id="main">
  <div id="decorate"></div>
  <div id="announce">
  	<div class="txt_announce">此处显示  class "txt_announce" 的内容，这里是某某某劳动模范某某内容</div>
  </div>
  
  <div id="wishwall"></div>
</div>

<div id="bottom">
<div align="center">Powered by TokenTeam</div>
</div>
</body>
<script language="javascript">

	$(document).ready(function() {
	    // 加载数据......

	    for (var i = 1; i < 36; i++) {
	        $.fn.jWish({ 
					     z: i,
					     id:i, 
					     area: { left: 380, top: 120, right: 1250, bottom: 800}, 
					     skin:getSkin('default','yellow')
					   });
	    }

	    // 支持拖拽
	    $('#announce').draggable();
		
	    $('div.wish').draggable();
    	
	    // 播放背景音乐
	    $("#music").jPlayer({
	        swfPath: '../js',
	        ready: function() {
	            //$('#music').setFile('../music/520.mp3').play(); // Defines the mp3 And auto play
	            $('#music').changeAndPlay('../music/520.mp3');
	        }
	    });
	    // 循环播放
	    $('#music').onSoundComplete(function() {
	        $('#music').changeAndPlay('../music/520.mp3');
	    });
	});
	
</script>

</html>
